package Excepton;

public class AccountException extends RuntimeException{
    private Integer code;
    public AccountException(){
        this(530,"用户账号密码输入不规范");
    }
    public AccountException(Integer code, String msg){
        super(msg);
        this.code=code;
    }
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }
}
